<template>
  <div class="c_weather">
    <div class="icon">
      <img src="../../assets/weather/sunny.png" />
    </div>
    <div class="info">
      <div class="date">今天</div>
      <div class="temp din">21~27<span>℃</span></div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  }
};
</script>

<style lang="scss" scoped>
.c_weather {
  color: #ffffff;
  display: flex;
  align-items: center;
  opacity: 0.75;
  .icon {
    width: 60px;
    height: 60px;
    margin-right: 12px;
    img {
      width: 100%;
      height: 100%;
    }
  }
  .info {
    .date {
      font-size: 18px;
      margin-bottom: 6px;
    }
    .temp {
      font-size: 29px;
      span {
        font-size: 22px;
      }
    }
  }
}
</style>
